package com.dzbh.cdsdriver.utils;

import java.util.Date;

/**
 * 返回数据基类
 */
public class BaseResp<T> {
	private int resultCode;
	private String tdLocation;
	private String errormsg;
	private String msg;
	private Date responseTime;
	private T data;
	private String key;
	public int getResultCode() {
		return resultCode;
	}
	public void setResultCode(int resultCode) {
		this.resultCode = resultCode;
	}

	public Date getResponseTime() {
		return responseTime;
	}

	public void setResponseTime(Date responseTime) {
		this.responseTime = responseTime;
	}

	public T getData() {
		return data;
	}

	public void setData(T data) {
		this.data = data;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getTdLocation() {
		return tdLocation;
	}

	public void setTdLocation(String tdLocation) {
		this.tdLocation = tdLocation;
	}

	public String getErrormsg() {
		return errormsg;
	}

	public void setErrormsg(String errormsg) {
		this.errormsg = errormsg;
	}
}
